﻿<%@ Page Title="" Language="C#" MasterPageFile="~/webs/Main.Master"  AutoEventWireup="true" CodeBehind="SowManagement.aspx.cs" Inherits="OnlineManagement.Web.webs.SowManagement" %>

<%@ Register TagPrefix="UC" TagName="sowsSettings" Src="~/userControl/UCSowsSettings.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../resources/css/colorbox.css" rel="stylesheet" type="text/css" />
    <script src="../resources/scripts/jquery-1.10.2.js" type="text/javascript"></script>
    <script src="../resources/scripts/jquery.colorbox.js" type="text/javascript"></script>
    <script src="../resources/scripts/JSCommon.js" type="text/javascript"></script>
    <script src="../resources/scripts/jquery.cookie.js" type="text/javascript"></script>

    <script type="text/javascript">
    $(document).ready(function () {
        $("#btnAddLink").click(function () {
            $.colorbox({ href: "SowAdd.aspx",
                iframe: true,
                inline: true,
                opacity: 0.5,
                width: "1000px",
                height: "550px",
                transition: "fade",
                scrolling: false,
                onClosed: function () {
                    window.href = "SowManagement.aspx";
                    // window.location.reload();
                }
            });
        });
       
    });
    function displayLog(obj) {
        var sowId = $(obj).siblings("input").val();
        var bitId = $(obj).text();
        $.cookie("logSowId", sowId);
        $.cookie("logBitId", bitId);
        var url = "SowEventInfor.aspx";
        //$(obj).attr("href", url);
        colorB(url, "600px", "600px");
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentNavigation" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">

   <asp:Panel ID="PanSowsSetting" runat="server">
    </asp:Panel>

     <UC:sowsSettings runat="server" ID="settings"></UC:sowsSettings>
 
</asp:Content>
